package com.queming.music.repository;

import com.queming.music.entity.Artist;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Optional;

/**
 *
 * @author 陈词调
 * @date 2022/5/7
 */
public interface ArtistRepository extends JpaRepository<Artist,String>, JpaSpecificationExecutor<Artist> {

    @Override
    Optional<Artist> findById(String id);
}
